/**
 * 
 */
package com.innovate.cms.modules.qs.entity.ads;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * banner图配置
 * 
 * @author shifangfang
 * @date 2018年3月17日 上午11:12:11
 */
public class BannerConf implements Serializable {

	private static final long serialVersionUID = 1L;

	private String pic;
	@JSONField(name = "jump_type")
	private int jumpType;
	private String jump;
	@JSONField(name = "create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	// `id` int(11) NOT NULL AUTO_INCREMENT,
	// `pic` varchar(255) NOT NULL COMMENT 'banner图片',
	// `jump_type` tinyint(4) NOT NULL COMMENT '跳转类型 1-url 2-折扣详情',
	// `jump` varchar(255) NOT NULL COMMENT '跳转目标',
	// `valid` tinyint(4) NOT NULL DEFAULT '1' COMMENT '0-无效 1-有效',
	// `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
	// CURRENT_TIMESTAMP,

	public BannerConf() {
		super();
	}


	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public int getJumpType() {
		return jumpType;
	}

	public void setJumpType(int jumpType) {
		this.jumpType = jumpType;
	}

	public String getJump() {
		return jump;
	}

	public void setJump(String jump) {
		this.jump = jump;
	}

}
